home *** CD-ROM | disk | FTP | other *** search
/ Merciful 1 / Merciful - Disc 1.iso / software / d / devpak / devpakv3.01kickstartv1.3b.dms / devpakv3.01kickstartv1.3b.adf / include / resources / filesysres.i < prev    next >
Text File  |  1991-11-20  |  2KB  |  53 lines

  1.     IFND    RESOURCES_FILESYSRES_I
  2. RESOURCES_FILESYSRES_I    SET    1
  3. **
  4. **    $Filename: resources/filesysres.i $
  5. **    $Revision: 1.0 $
  6. **    $Date: 88/07/11 15:32:39 $
  7. **
  8. **    FileSystem.resource description
  9. **
  10. **    (C) Copyright 1988 Commodore-Amiga, Inc.
  11. **        All Rights Reserved
  12. **
  13.  
  14.     IFND    EXEC_NODES_I
  15.     INCLUDE    "exec/nodes.i"
  16.     ENDC
  17.     IFND    EXEC_LISTS_I
  18.     INCLUDE    "exec/lists.i"
  19.     ENDC
  20.     IFND    LIBRARIES_DOS_I
  21.     INCLUDE    "libraries/dos.i"
  22.     ENDC
  23.  
  24. FSRNAME    MACRO
  25.         dc.b    'FileSystem.resource',0
  26.     ENDM
  27.  
  28.  STRUCTURE  FileSysResource,LN_SIZE    ; on resource list
  29.     CPTR    fsr_Creator            ; name of creator of this resource
  30.     STRUCT  fsr_FileSysEntries,LH_SIZE    ; list of FileSysEntry structs
  31.     LABEL   FileSysResource_SIZEOF
  32.  
  33.  STRUCTURE  FileSysEntry,LN_SIZE    ; on fsr_FileSysEntries list
  34.                     ; LN_NAME is of creator of this entry
  35.     ULONG   fse_DosType        ; DosType of this FileSys
  36.     ULONG   fse_Version        ; Version of this FileSys
  37.     ULONG   fse_PatchFlags    ; bits set for those of the following that need
  38.                 ;   to be substituted into a standard device
  39.                 ;   node for this file system: e.g. $180
  40.                 ;   for substitute SegList & GlobalVec
  41.     ULONG   fse_Type        ; device node type: zero
  42.     CPTR    fse_Task        ; standard dos "task" field
  43.     BPTR    fse_Lock        ; not used for devices: zero
  44.     BSTR    fse_Handler        ; filename to loadseg (if SegList is null)
  45.     ULONG   fse_StackSize    ; stacksize to use when starting task
  46.     LONG    fse_Priority    ; task priority when starting task
  47.     BPTR    fse_Startup        ; startup msg: FileSysStartupMsg for disks
  48.     BPTR    fse_SegList        ; code to run to start new task
  49.     BPTR    fse_GlobalVec    ; BCPL global vector when starting task
  50.     ; no more entries need exist than those implied by fse_PatchFlags
  51.  
  52.     ENDC    ; RESOURCES_FILESYSRES_I
  53.